筛选：<?php echo filter2Fun(array (
  'field' => 'type',
),$where);?>

按时间排序：<?php echo orderFun(array (
  'field' => 'newstime',
  'name' => '时间',
  'ascName' => '按时间正序',
  'descName' => '按时间倒序',
  'ascStyle' => 'onUp',
  'descStyle' => 'onDown',
),$where);?>

默认： <?php echo orderFun(array (
  'field' => '" name="默认',
  'defaultStyle' => 'none',
),$where);?>

<ul>
{foreach $data as $v}
  <li>{$v.newstime}</li>
  {/foreach}
</ul>